package com.icloud.common.database.model;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@TableName("sys_settings")
@ApiModel(value = "系统设置对象", description = "系统设置")
public class SysSettings {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("创建时间")
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty("修改时间")
    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;

    @ApiModelProperty("创建人id")
    @TableField("created_id")
    private Long createdId;

    @ApiModelProperty("修改人id")
    @TableField("updated_id")
    private Long updatedId;

    @ApiModelProperty("注册赠送奖励(正整数)")
    @TableField("register_reward")
    private Integer registerReward;
    @ApiModelProperty("邀请赠送奖励(正整数)")
    @TableField("invite_reward")
    private Integer inviteReward;
}
